/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package im.imrobots.v.xmpp;

import im.imrobots._comn.AMessage;

/**
 *
 * @author yihaodian
 */
public class Message extends AMessage
{
    org.jivesoftware.smack.packet.Message message;

    Message(org.jivesoftware.smack.packet.Message message)
    {
        this.message = message;
    }

    @Override
    public String getContent()
    {
        return message.getBody();
    }

    @Override
    public void setContent(String content)
    {
        message.setBody(content);
    }
}
